package com.dragon.shop.order.fegin.fallback;

import com.dragon.shop.bean.User;
import com.dragon.shop.order.fegin.UserService;
import org.springframework.stereotype.Component;

/**
 * @author: Dragon
 * @since: 2023/12/1 20:52
 */
@Component
public class UserServiceFallBack implements UserService {

    @Override
    public User getUser(Long uid) {
        User user = new User();
        user.setId(-1L);
        return user;
    }
}
